package org.kwisatz.proxybot;
import java.io.PrintWriter;

import org.kwisatz.proxybot.core.NoticePrintWriter;

public class FilterAdapter implements Filter
{
	protected Context context;
	protected PrintWriter clientNotice;
	
	public String handleClientLine(String line, Message message)
	{
		return line;
	}

	public String handleServerLine(String line, Message message)
	{
		return line;
	}

	public void setContext(Context context)
	{
		this.context=context;
		clientNotice=new NoticePrintWriter(context);
	}

	/** for jython */
	public Context getContext()
	{
		return context;
	}

	public String getID() {
		return getClass().getName();
	}
}
